<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/exchange/exchange.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_5dc13a1abd435123f7be5ea8dc751d1b.html">exchange</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">exchange.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="currency_8hpp_source.html">currency/currency.hpp</a>&gt;</code><br />
</div>
<p><a href="exchange_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1order__id.html">exchange::order_id</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1buy__order.html">exchange::buy_order</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1sell__order.html">exchange::sell_order</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceexchange"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html">exchange</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aba2864a28e50db2eb847731636ae9132"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#aba2864a28e50db2eb847731636ae9132">exchange::eos_tokens</a> = eosio::tokens</td></tr>
<tr class="separator:aba2864a28e50db2eb847731636ae9132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a7bba4166424f9bf3e8cfd9b352730"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structeosio_1_1price.html">eosio::price</a>&lt; eos_tokens, currency_tokens &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">exchange::price</a></td></tr>
<tr class="separator:a88a7bba4166424f9bf3e8cfd9b352730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb41f4587cd9eff3c812296383babc40"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#adb41f4587cd9eff3c812296383babc40">exchange::accounts</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>), <a class="el" href="structaccount.html">account</a>, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:adb41f4587cd9eff3c812296383babc40"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afbd856f171f74f0de6ff059c7d591ca4"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#afbd856f171f74f0de6ff059c7d591ca4">exchange::PACKED</a> (bid)</td></tr>
<tr class="separator:afbd856f171f74f0de6ff059c7d591ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57a2d7c8a19a879af27af1b50e316060"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a57a2d7c8a19a879af27af1b50e316060">exchange::PACKED</a> (ask)</td></tr>
<tr class="separator:a57a2d7c8a19a879af27af1b50e316060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3946d2bf901df155f2a9a04e5676cbdd"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a3946d2bf901df155f2a9a04e5676cbdd">exchange::PACKED</a> (<a class="el" href="structaccount.html">account</a>)</td></tr>
<tr class="separator:a3946d2bf901df155f2a9a04e5676cbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0076daa53f834bf9095e4691d6b83add"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a0076daa53f834bf9095e4691d6b83add">exchange::TABLE2</a> (bids, exchange, exchange, bids, bid, bids_by_id, order_id, bids_by_price, price)</td></tr>
<tr class="separator:a0076daa53f834bf9095e4691d6b83add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41a85ebd8aec9d2065acc9ea8599e6cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a41a85ebd8aec9d2065acc9ea8599e6cb">exchange::TABLE2</a> (asks, exchange, exchange, asks, ask, asks_by_id, order_id, asks_by_price, price)</td></tr>
<tr class="separator:a41a85ebd8aec9d2065acc9ea8599e6cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9175b05eb9893758d187b743ce208583"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structaccount.html">account</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a9175b05eb9893758d187b743ce208583">exchange::get_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:a9175b05eb9893758d187b743ce208583"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section copyright"><dt>Copyright</dt><dd>defined in eos/LICENSE.txt </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
